<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<%@include file="../_include/lib.jsp" %>
<%@include file="../_include/style.jsp" %>
<%@include file="../_include/script.jsp" %>
<title>概况汇总界面</title>
</head>

<body class="white-bg">
	<div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12">
            	<input id="hiddenLatestDay" type="hidden" value="${_latestDay }" />
				<div class="alert alert-info">
					<a class="btn btn-success btn-outline" style="float:left;">
						<i class="fa fa-clock-o"> </i> 检测时间：<span id="detectTime"></span>
					</a>
					<a id="btnRefresh" class="btn btn-primary" style="float:left;margin-left:10px;">
						<i class="fa fa-refresh"> </i> 刷新
					</a>
					<div id="exportDate" class="input-group date col-sm-2" style="float:left;margin-left:10px;">
						<input type="text" class="form-control" readonly>
						<span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
					</div>
					<a id="btnExport" type="button" class="btn btn-primary">
                        <i class="fa fa-download" aria-hidden="true"></i> 导出
                    </a>
					<br><br>
					<a class="btn btn-info">
						<i class="fa fa-server"> </i> 矿机总数：<span id="numAll"></span>
					</a>
					<a class="btn btn-success">
						<i class="fa fa-server"> </i> 检测到：<span id="numDetail"></span>
					</a>
					<a class="btn btn-danger">
						<i class="fa fa-server"> </i> 未检测到：<span id="numFailure"></span>
					</a>
					<a class="btn btn-info">
						<i class="fa fa-calculator"> </i> 总算力(G)：<span id="overallHashrate"></span>
					</a>
					<a class="btn btn-success">
						<i class="fa fa-calculator"> </i> 合格数：<span id="numPassed"></span>
					</a>
					<a class="btn btn-warning">
						<i class="fa fa-calculator"> </i> 不达标数：<span id="numUnpassed"></span>
					</a>
					<a class="btn btn-success">
						<i class="fa fa-calculator"> </i> 合格率：<span id="ratePassed"></span>
					</a>
				</div>
				<div id="shelfTableToolbar">
					<div class="btn-group hidden-xs" role="group">
					</div>
				</div>
				<table id="shelfTable" data-mobile-responsive="true">
				</table>
            </div>
        </div>
    </div>
    <iframe id="downloadFrame" style="display:none;"></iframe>

	<script type="text/javascript" src="../js/app/page/overview.hashrate.js"></script>
</body>
</html>